package com.example.bob.model;

import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
/*
* 1,Serializable 序列化与反序列化！*/
public class UserInfo implements Serializable {

    /*
    * 1，少个昵称属性！*/

    private int id; //用户编号
    private String username; //
    private String password;
    private String photo;
    private LocalDateTime createtime;
    private LocalDateTime updatetime;
    private int state;

}
